package hcn.protocol.registration.xml.resp;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * @Author: lanyu
 * @Description:
 * @Date: create in 2023/3/3 16:23
 */
@XmlRootElement(name = "Data")
public class CheckTypeResponseTempXmlResponse {

    private List<ExamType> examTypeList;
    @XmlElementWrapper(name = "ExamTypes")
    @XmlElement(name = "ExamType")
    public List<ExamType> getExamTypeList() {
        return examTypeList;
    }

    public void setExamTypeList(List<ExamType> examTypeList) {
        this.examTypeList = examTypeList;
    }

    @XmlRootElement(name = "ExamType")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class ExamType{
        private String ExamTypeCode;

        private String ExamTypeName;

        private String PyCode;

        public String getExamTypeCode() {
            return ExamTypeCode;
        }

        public void setExamTypeCode(String examTypeCode) {
            ExamTypeCode = examTypeCode;
        }

        public String getExamTypeName() {
            return ExamTypeName;
        }

        public void setExamTypeName(String examTypeName) {
            ExamTypeName = examTypeName;
        }

        public String getPyCode() {
            return PyCode;
        }

        public void setPyCode(String pyCode) {
            PyCode = pyCode;
        }
    }
}
